<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:s="http://jboss.com/products/seam/taglib"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a="http://richfaces.org/a4j">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
   <body>	                             
	<h1>订购运送</h1>
	
          <p>请输入运送编号</p>

          <div>
              <h:form>
                  <h:panelGrid columns="2">
                      <h:outputText value="订单号:" />
                      <h:outputText value="#{order.orderId}" />                       
                      <h:outputText value="订单日期:" />
                      <h:outputText value="#{order.orderDate}" />                                                                          
                      <h:outputText value="邮寄地址:" />
                      <h:outputText value="#{order.address.detailsAddress}" />                       
                      <h:outputText value="运送方式:" />
                      <h:outputText value="#{order.goodsStream.goodsStreamName}">
                          <f:convertNumber type="currency" currencySymbol="$" />
                      </h:outputText>                       
                      <h:outputText value="运送编号:" />
                      <h:panelGroup>                            
                          <h:inputText id="orderCode" value="#{order.orderCode}" required="true"/>                            
                      </h:panelGroup>
                  </h:panelGrid>
                  <h:commandButton action="#{ship.ship}" value="运送" /> 
               </h:form>
           </div>  
   </body>
</html>